﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmoneyWeiXinEntity;
using EmoneyWeiXinDAL;
using System.Data;
using EmoneyWeiXinCommon;
namespace EmoneyWeiXinBLL
{
    public class WXUserBLL
    {
        public static List<WXUserEntity> getWXUserList(int pindex, int psize, int weixinid, out int total, string nickname, int sex, string province, string city, string subscribe1, string subscribe2, int groupid, string labelids, string subStatu)
        {
            return WXUserDal.getWXUserList(pindex, psize, weixinid, out  total, nickname, sex, province, city, subscribe1, subscribe2, groupid, labelids, subStatu);
        }
        public static int UpdateWXUserGroup(string ids, int groupid)
        {
            return WXUserDal.UpdateWXUserGroup(ids, groupid);
        }
        public static int getWXUserStat(int weixinid, out int subscribeCount, out int unsubscribeCount, out int subscribeTotalCount)
        {
            return WXUserDal.getWXUserStat(weixinid, out subscribeCount, out unsubscribeCount, out subscribeTotalCount);
        }
        public static WXUserEntity GetWxuserByOpenId(string openId)
        {
            return WXUserDal.GetWxuserByOpenId(openId);
        }

        public static WXUserEntity GetWxuserByOpenId2(string openId)
        {
            return WXUserDal.GetWxuserByOpenId2(openId);
        }

    }
}
